import req from '@/utils/request'
const baseURL = process.env.VUE_APP_BASE_URL

export function getAlarmHistoryInfos(data) {
    return req({
        method: 'get',
        url: baseURL + "/superlink/api/alarmHistory/history",
        params: data
    })
}
export function getAlarmStatInfo(data) {
    return req({
        method: 'get',
        url: baseURL + "/superlink/api/alarmStatInfo/alarms",
        params: data
    })
}
export function getAlarmRealInfo(data) {
    return req({
        method: 'get',
        url: baseURL + "/superlink/api/AlarmReal/AlarmRealInfo",
        params: data
    })
}

export function AlarmStatInfo(data) {
    return req({
        method: 'get',
        url: baseURL + "/superlink/api/alarmStatInfo/alarms",
        params: data
    })
}


